// 使用
import ElTableBlock from '@pdeng/element-table'
import InputSearch from '@/components/inputSearch/InputSearch'
import ToggleContainer from '@/components/toggleContainer/ToggleContainer'
import FormPanel from '@/components/formPanel/FormPanel'
import DrawerPanel from '@/components/drawer/DrawerPanel'
import ListView from '@/components/listView/ListView'
import NavMenu from '@/components/subMenu/NavMenu'
import CustomButton from '@/components/buttons/CustomButton'
import AddButton from '@/components/buttons/AddButton'
import EditButton from '@/components/buttons/EditButton'
import SplitVline from '@/components/buttons/SplitVline'
import PhotoAlbums from '@/components/photoAlbums/PhotoAlbums'
import ImagePreview from '@/components/photoAlbums/ImagePreview'
import PageLayout from '@/components/layout/PageLayout'
import LeftToggleLayout from '@/components/layout/LeftToggleLayout'
import PlainTabs from '@/components/plainTabs/PlainTabs'
import foxPreviewImage from 'fox-preview-image'
import ElTableBlock2 from '@/components/elTableBlock2/ElTableBlock2'
import CardPanel from '@/components/cardPanel/CardPanel'
import { VueEchart, echarts } from 'vue-echarts5'
function registComponents(Vue) {
  Vue.component('input-search', InputSearch)
  Vue.component('toggle-container', ToggleContainer)
  Vue.component('form-panel', FormPanel)
  Vue.component('drawer-panel', DrawerPanel)
  Vue.component('list-view', ListView)
  Vue.component('nav-menu', NavMenu)
  Vue.component('custom-button', CustomButton)
  Vue.component('add-button', AddButton)
  Vue.component('edit-button', EditButton)
  Vue.component('photo-albums', PhotoAlbums)
  Vue.component('image-preview', ImagePreview)
  Vue.component('split-vline', SplitVline)
  Vue.component('page-layout', PageLayout)
  Vue.component('left-toggle-layout', LeftToggleLayout)
  Vue.component('plain-tabs', PlainTabs)
  Vue.component('el-table-block2', ElTableBlock2)
  Vue.component('card-panel', CardPanel)
  Vue.use(foxPreviewImage)
  Vue.use(ElTableBlock)
  Vue.use(VueEchart)
}

export default registComponents
